<template>
	<view>
		<view class="head_con">
			<view class="u-text-center">
				<view>总资产数</view>
				<view>500</view>
			</view>
			<view class="u-padding-20 u-flex u-row-between">
				<view class="">
					<text>使用中资产</text>
					<text>300</text>
				</view>
				<view>
					<text>空闲资产</text>
					<text>300</text>
				</view>
				<view>
					<text>维修资产</text>
					<text>300</text>
				</view>
				<view>
					<text>报废资产</text>
					<text>300</text>
				</view>
			</view>
		</view>
		<view class="u-padding-20 u-flex u-row-between">
			<view class="">
				<text>采购</text>
			</view>
			<view>
				<text>出入库</text>
			</view>
			<view>
				<text>盘点</text>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		getTopic
	} from "@/service/shareService.js";
	export default {
		data () {
			return {
				topics: [],
				
			}
		},
		onLoad() {
			getTopic({
				page: this.page,
				limit: this.limit
			}).then(this.getTopic);
		},
		onReachBottom() {
			
		},
		methods:{
			
			getTopic(e) {
				// console.log(e);
				if (e.code == 200) {
					let list = e.result;
					list.forEach((item) => {
						this.topics.push(item);
					})
				} else {
					this.$refs.uToast.show({
						type: 'error',
						title: '失败',
						message: e.msg,
					})
				}
			},
			scroll:function(){},
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #f5f5f5;
	}
	.head_con{
		width:100%;
		height:500rpx;
		background-image: url(https://s1.ax1x.com/2022/06/30/juwrI1.png);
		background-size: cover;
		background-position: center;
	}
</style>

